package com.sgb.kjwl.view.ui.adapter.material;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.ParamsEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class GoodsParamsAdapter extends BaseRecycleAdapter<ParamsEntity> {

    public GoodsParamsAdapter(Context context, List<ParamsEntity> data) {
        super(context, R.layout.item_params, data);
    }

    @Override
    public void convert(ItemViewHolder holder, ParamsEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
